package com.lbj.mall.auth.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpSession;

@Controller
public class IndexController {

    @GetMapping("/login.html")
    public String login(HttpSession session) {
        String msg = (String) session.getAttribute("msg");
        System.out.println("msg -----------> " + msg);
        return "login";
    }

}
